package pointsHandler;

import java.util.Random;

import tag.constants;

public class point implements constants{

	public static int purple_x=0;
	public static int purple_y=0;
	
	public static int gold_x=40;
	public static int gold_y=40;
	public static boolean exists = true;
	
	public static void generatePoint(){
		int x=purple_x;
		int y=purple_y;
		
		int w = (frame_width-100)/cell_size;
		int h = (frame_height-100)/cell_size;
		
		Random random = new Random();
		
		x = random.nextInt(w)*cell_size;
		y = random.nextInt(h)*cell_size;
		
		//FIXME purple_x=x<100?100:x;
		
		purple_x=x;
		purple_y=y;
	}
	
	
	
	
}
